package com.wisdytech.linkdcs.factory.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 
 * @author chenbin
 * @since 2018-05-07
 *
 */
@TableName("TM_LOCATION")
public class Area extends Model<Area>{

	private static final long serialVersionUID = 1L;
	/**
     * 唯一id
     */
    @TableId("PK_ID")
	private String pkId;
    
    /**
     * 厂区id
     */
	@TableField("FACTORY_ID")
	private String factoryId;
	
    /**
     * 区域编码
     */
	@TableField("LOCATION_CODE")
	private String locationCode;
	
    /**
     * 区域名称
     */
	@TableField("LOCATION_NAME")
	private String locationName;
	
    /**
     * 标识符
     */
	@TableField("LOCATION_Tag")
	private String locationTag;
	
	/**
     * 删除标记
     */
	@TableField("DEL_FLAG")
	private String delFlag;
	
	
    /**
     * 记录创建人
     */
	@TableField("CREATE_USER")
	private String createUser;
    /**
     * 记录创建时间
     */
	@TableField("CREATE_DATE")
	private Date createDate;
    /**
     * 记录更新人
     */
	@TableField("UPDATE_USER")
	private String updateUser;
    /**
     * 记录更新时间
     */
	@TableField("UPDATE_DATE")
	private Date updateDate;
    /**
     * 备注
     */
	@TableField("REMARK")
	private String remark;
    /**
     * 厂区名称
     */
    @TableField(exist=false)
    private String factoryName;
    
    
	
	public String getPkId() {
		return pkId;
	}



	public void setPkId(String pkId) {
		this.pkId = pkId;
	}



	public String getFactoryId() {
		return factoryId;
	}



	public void setFactoryId(String factoryId) {
		this.factoryId = factoryId;
	}



	public String getLocationCode() {
		return locationCode;
	}



	public void setLocationCode(String locationCode) {
		this.locationCode = locationCode;
	}



	public String getLocationName() {
		return locationName;
	}



	public void setLocationName(String locationName) {
		this.locationName = locationName;
	}



	public String getLocationTag() {
		return locationTag;
	}



	public void setLocationTag(String locationTag) {
		this.locationTag = locationTag;
	}



	public String getDelFlag() {
		return delFlag;
	}



	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}



	public String getCreateUser() {
		return createUser;
	}



	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}



	public Date getCreateDate() {
		return createDate;
	}



	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}



	public String getUpdateUser() {
		return updateUser;
	}



	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}



	public Date getUpdateDate() {
		return updateDate;
	}



	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}



	public String getRemark() {
		return remark;
	}



	public void setRemark(String remark) {
		this.remark = remark;
	}



	public String getFactoryName() {
		return factoryName;
	}



	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}



	@Override
	protected Serializable pkVal() {
		return this.pkId;
	}
}
